<?php

if(!defined('ROOT')){//view目录的上一级目录
    define('ROOT',dirname(dirname(__FILE__)).'/' );
}
error_reporting(E_ERROR);
require_once ROOT_PATH.'lib/weixinpay/example/phpqrcode/phpqrcode.php';
$url = urldecode($_GET["data"]);
QRcode::png($url);
